//
//  Topic.m
//  MyTest
//
//  Created by zhiyou on 16-4-14.
//  Copyright (c) 2016年 wangyang. All rights reserved.
//

#import "Topic.h"

@implementation Topic
- (id) initWithDictonary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        _ID = [dic objectForKey:@"id"];
        _title = [dic objectForKey:@"title"];
        _subTitle = [dic objectForKey:@"subtitle"];
        _business = [dic objectForKey:@"business"];
        _hits = [dic objectForKey:@"hits"];
        _img_url = [dic objectForKey:@"img_url"];
    }
    return self;
}

@end
